package com.wulijie.composite;

/**
 * @Author cui
 * @Data
 */
public abstract class OrgComposite {
    protected String name;
    protected String des;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public OrgComposite(String name, String des) {
        this.name = name;
        this.des = des;
    }

    abstract void add(OrgComposite orgComposite);
    abstract void remove(OrgComposite orgComposite);

    abstract void print();


}
